package com.huangkailong.designpattern.factory.simplefactory;

/**
 * 简单工厂测试.
 *
 * @author huangkl
 * @since 1.0.0
 */
public class Client {
    /**
     * main 方法.
     */
    public static void main(String[] args) {
        Course javaCourse = CourseFactory.create("java");
        javaCourse.record();
        Course pythonCourse = CourseFactory.create("python");
        pythonCourse.record();
    }
}
